package com.bt.lms.ui.page.sys.style.action;

import javafx.scene.layout.*;
import javafx.scene.paint.Color;

/**
 * 区域样式
 */
public class PaneStyle {

    /**
     * 区域分割边框（pena
     * @param pane 要设置边框的盒子
     */
    public static void framePane(   Pane pane){

        Color rgb = Color.rgb( 204, 204, 204);
        BorderStroke borderStroke = new BorderStroke(rgb,
                BorderStrokeStyle.SOLID, null, new BorderWidths(1));
        Border border = new Border(borderStroke);
        pane.setBorder(border);

    }
}
